package io.renren.modules.app.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Service;

import io.renren.config.ConfigBeanValue;
import io.renren.modules.app.service.QuartzDemoService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Service
public class QuartzDemoServiceImpl implements QuartzDemoService {

	@Autowired
	private ConfigBeanValue configBeanValue;
	
	@Override
	public void quartzDemo1() {
		String str = configBeanValue.outConnClientIp;
		System.out.println("strstrstrstrstrstr = " + str);
		log.error("QuartzDemoServiceImpl........... start........");
		try {
			Thread.sleep(12000);
		} catch (Exception e) {
			// TODO: handle exception
		}
		log.error("QuartzDemoServiceImpl........... end........");
	}

}
